package java8;

/**
 * Created by bruce on 2015/3/7.
 */
public class SwitchMain {
    public static void main(String[] args) {
        String s = "abc";
        switch (s) {
            case "a":
                System.out.println("a");
                break;
            case "b":
                System.out.println("b");
                break;
            default:
                System.out.println("d");
                break;
        }
    }
}
